package com.cmc.cloud.cmclink.doc.api.document.rep.manifestrep.manifest;

import com.cmc.cloud.cmclink.doc.api.document.rep.manifestrep.manifestcargo.ManifestCargoUpdateReqVO;
import com.cmc.cloud.cmclink.doc.api.document.rep.manifestrep.manifestcntr.ManifestCntrUpdateReqVO;
import com.cmc.cloud.cmclink.doc.api.document.rep.manifestrep.manifestscn.ManifestScnUpdateReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.Valid;
import java.util.List;

/**
 * 舱单主更新 Request VO
 *
 * @author chenzheng
 */
@Schema(description = "管理后台 - 舱单主更新 Request VO")
@Data
@ToString(callSuper = true)
public class ManifestUpdateInfoReqVO {
    @Schema(description = "舱单")
    @Valid
    private ManifestUpdateReqVO manifest;
    @Schema(description = "货物信息")
    @Valid
    private List<ManifestCargoUpdateReqVO> manifestCargoList;
    @Schema(description = "箱信息")
    @Valid
    private List<ManifestCntrUpdateReqVO> manifestCntrList;
    @Schema(description = "相关方")
    @Valid
    private List<ManifestScnUpdateReqVO> manifestScnList;
}
